package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 座位对象 sr_seat
 * 
 * @author ruoyi
 * @date 2023-04-04
 */
public class SrSeat extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 座位ID */
    private Long seatId;

    /** 自习室ID */
    @Excel(name = "自习室ID")
    private Long roomId;

    /** 座位号 */
    @Excel(name = "座位号")
    private Long seatNum;

    /** 座位区域 0经济区 1舒适区 */
    @Excel(name = "座位区域 0经济区 1舒适区")
    private Integer seatArea;

    /** 区域名字 */
    @Excel(name = "区域名字")
    private String areaName;

    public void setSeatId(Long seatId) 
    {
        this.seatId = seatId;
    }

    public Long getSeatId() 
    {
        return seatId;
    }
    public void setRoomId(Long roomId) 
    {
        this.roomId = roomId;
    }

    public Long getRoomId() 
    {
        return roomId;
    }
    public void setSeatNum(Long seatNum) 
    {
        this.seatNum = seatNum;
    }

    public Long getSeatNum() 
    {
        return seatNum;
    }
    public void setSeatArea(Integer seatArea) 
    {
        this.seatArea = seatArea;
    }

    public Integer getSeatArea() 
    {
        return seatArea;
    }
    public void setAreaName(String areaName) 
    {
        this.areaName = areaName;
    }

    public String getAreaName() 
    {
        return areaName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("seatId", getSeatId())
            .append("roomId", getRoomId())
            .append("seatNum", getSeatNum())
            .append("seatArea", getSeatArea())
            .append("areaName", getAreaName())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
